MotoPress\Appointment\Shortcodes\CustomerAccountShortcode S

Total Complexity 45
Dependencies 1
Dependents 1
Total lines 396
Lines of code 229
Logical lines of code 121
Comment lines 93
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
getURL()
A
46 8 44
renderContent()
S
52 5 25
onLoginFailedRedirect()
S
61 4 12
getBookingContent()
S
61 3 13
getCustomerAccountPageSlug()
S
64 3 11
addRewriteRules()
S
63 3 11
isNeedFlushRewriteRules()
S
64 3 10
addRewriteRulesForSubpageWithId()
S
56 1 20
onLoginFailedRedirectShowMessage()
S
65 2 9
addRewriteRulesForSubpage()
S
60 1 13
getAccountContent()
S
62 1 12
getName()
S
80 1 3
getLabel()
S
79 1 3
isBookingsTab()
S
80 1 3
addActions()
S
69 1 6
getAccountURL()
S
80 1 3
getBookingURL()
S
79 1 3
getBookingsURL()
S
79 1 3
getBookingsContent()
S
68 1 7
getMenuContent()
S
65 1 9
getPermissionDeniedContent()
S
72 1 6
isBookingByIdTab()
S
80 1 3